/*
 * ShoppingCartInvalidListItem.java
 * business
 *
 * Created by ChenTao on 2016/9/13.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.ui.widget.listview.displaylistitem;

import android.content.Context;

import com.yidiandao.business.data.bean.Goods;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.viewholder.ShoppingCartInvalidHolder;

/** 购物车失效商品ListItem */
public class ShoppingCartInvalidListItem extends DisplayListItem<ShoppingCartInvalidHolder, Goods> {

    public ShoppingCartInvalidListItem(Goods goods) {
        super(goods);
    }

    @Override
    public void onShow(Context context, ShoppingCartInvalidHolder holder) {
        holder.refreshUI(data);
    }

    @Override
    public String getDisplayItemTag() {
        return ShoppingCartInvalidListItem.class.getSimpleName();
    }

    @Override
    public Class<ShoppingCartInvalidHolder> getViewHolderClazz() {
        return ShoppingCartInvalidHolder.class;
    }
}
